home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / lynx / lynx.cfg < prev    next >
Text File  |  1995-06-28  |  27KB  |  622 lines

  1. # lynx.cfg file.
  2. # The default placement for this file is /usr/local/lib/lynx.cfg (UNIX)
  3. #                                     or Lynx_Dir:lynx.cfg (VMS)
  4. #
  5. # Definition pairs are of the form  VARIABLE:DEFINITION
  6. # NO spaces are allowed between the pair items.
  7. #
  8. #  If you do not have access to /usr/local/bin you may change
  9. #  the default location of this file in the userdefs.h file and recompile,
  10. #  or specify it's location on the command line with the "-cfg"
  11. #  command line option.
  12. #
  13. # Items may be commented out by putting a '#' as the FIRST char of the line
  14. #
  15. # All definitions must be flush left and have NO spaces.!!!
  16. #
  17. #
  18. # STARTFILE is the default URL if none is specified on the command line 
  19. # note: these files can be remote (http://www.w3.org/default.html) 
  20. # or local (file://localhost/DIRECTORY/FILENAME
  21. #  replace DIRECTORY with the current directory path and
  22. #  FILENAME with the name of the file.
  23. #  file://localhost/dua#/DIRECTORY/FILENAME on VMS systems.)
  24. #
  25. STARTFILE:file://localhost/usr/skunk/lib/lynx/about_lynx.html
  26.  
  27. # HELPFILE must be defined as a URL and must have a 
  28. # complete local path name if local 
  29. # (file://localhost/DIRECTORY/FILENAME
  30. #  replace DIRECTORY with the current directory path and
  31. #  FILENAME with the name of the file.
  32. #  file://localhost/dua#/DIRECTORY/FILENAME on VMS systems.)
  33. # the default HELPFILE is:
  34. # http://kufacts.cc.ukans.edu/lynx_help/lynx_help_main.html
  35. # This file will be updated as needed.
  36. #
  37. HELPFILE:file://localhost/usr/skunk/lib/lynx/help/lynx_help_main.html
  38.  
  39. # JUMPFILE is the local file checked for shortcut URL's when the
  40. # user presses the 'J' (JUMP) key.  The user will be prompted for
  41. # a shortcut entry (analogously to 'g'oto), and can enter one
  42. # or use '?' for a list of the shortcuts with associated links to
  43. # their actual URL's.  See the sample jumps files in the samples
  44. # subdirectory.  Make sure your jumps file includes a '?' shortcut
  45. # for a file://localhost URL to itself:
  46. #
  47. # <dt>?<dd><a href="file://localhost/path/jumps.html">This Shortcut List</a>
  48. #
  49. # If not defined here or in userdefs.h, the JUMP command will invoke
  50. # the NO_JUMPFILE statusline message (see userdefs.h).
  51. #
  52. # On VMS, use Unix SHELL syntax (including a lead slash) to define it.
  53. #
  54. # Do not include "file://localhost" in the definition.
  55. #
  56. #JUMPFILE:/Lynx_Dir/jumps.html
  57.  
  58. # DEFAULT_INDEX_FILE is the default file retrieved when the
  59. # user presses the 'I' key when viewing any document.
  60. # An index to your CWIS can be placed here or a document containing
  61. # pointers to lots of interesting places on the web.
  62. #
  63. #DEFAULT_INDEX_FILE:http://www.w3.org/default.html
  64. DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  65.  
  66. # The CHARACTER_SET defines the users default 8 bit character set
  67. # which is used to represent the list of character entities within
  68. # HTML. New character sets may be defined by modifying the file
  69. # src/LYCharSets in the Lynx source code distribution and
  70. # recompiling.
  71. # The default character sets include:
  72. #    ISO Latin 1
  73. #    DEC Multinational
  74. #    IBM PC character set
  75. #    NeXT character set
  76. #    7 bit approximations
  77. #
  78. CHARACTER_SET:ISO Latin 1
  79.  
  80. # If BOLD_HEADERS is set to TRUE the HT_BOLD default style will be
  81. # acted upon for <H1> through <H7> headers.  The compilation default
  82. # is FALSE (only the uppercasing and indentation styles are acted
  83. # upon).  On Unix, compilation with -DUNDERLINE_LINKS also will
  84. # apply to the HT_BOLD style for headers when BOLD_HEADERS is TRUE.
  85. #
  86. BOLD_HEADERS:FALSE
  87.  
  88. # Local execution links and scripts are completely disabled
  89. # in the source code unless they are enabled in the
  90. # userdefs.h file and the sources recompiled.  Please
  91. # see the Lynx source code distribution and the userdefs.h
  92. # file for more detail on enabling execution links and scripts.
  93. #
  94. # If you have enabled execution links or scripts the following
  95. # two variables control Lynx's action when an execution link
  96. # or script is encountered.
  97. #
  98. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  99. # link or script will be executed no matter where it came from.
  100. # This is EXTREMELY dangerous.  Since Lynx can access files from
  101. # anywhere in the world, you may encounter links or scripts that
  102. # will cause damage or comprimise the security of your system.
  103. #
  104. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  105. # links or scripts that reside on the local machine and are
  106. # referenced with a URL beginning with "file://localhost/" or via
  107. # TRUSTED_EXEC rules (see below) will be executed.  This is much
  108. # less dangerous than enabling all execution links, but can still
  109. # be dangerous.
  110. #
  111. LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  112. LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  113.  
  114. # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
  115. # rule is defined, it defaults to "file://localhost/" and any lynxexec
  116. # command will be permitted if it was referenced with a URL beginning with
  117. # that string.  If you wish to restrict the referencing URL's further, you
  118. # can extend the string to include a trusted path.  You also can specify
  119. # a trusted directory for http URL's, which will then be treated as if they
  120. # were local rather than remote.  For example:
  121. #
  122. #    TRUSTED_EXEC:file://localhost/trusted/
  123. #    TRUSTED_EXEC:http://sci.wfeb.edu/trusted/
  124. #
  125. # If you also wish to restrict the commands which can be executed, create
  126. # a series of rules with the path (Unix) or command name (VMS) following
  127. # the string, separated by a tab.  For example:
  128. #
  129. # Unix:
  130. #    TRUSTED_EXEC:file://localhost/    bin/cp
  131. #    TRUSTED_EXEC:file://localhost/    bin/rm
  132. # VMS:
  133. #    TRUSTED_EXEC:file://localhost/    copy
  134. #    TRUSTED_EXEC:file://localhost/    delete
  135. #
  136. # Once you specify a TRUSTED_EXEC referencing string, the default is
  137. # replaced, and all the referencing strings you desire must be specified
  138. # as a series.  Similarly, if you associate a command with the referencing
  139. # string, you must specify all of the allowable commands as a series of
  140. # TRUSTED_EXEC rules for that string.
  141. #
  142. # If EXEC_LINKS and JUMPFILE have been defined, any lynxexec URL's in that
  143. # file will be permitted, regardless of other settings.  If you also set
  144. # LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE and a single TRUSTED_EXEC
  145. # rule that will always fail (e.g., "none"), then *ONLY* the lynxexec URL's
  146. # in JUMPFILE will be allowed.
  147. #
  148. #TRUSTED_EXEC:none
  149.  
  150. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of 
  151. #  the information, or ALERTMAIL if there is no owner, every time
  152. #  that a document cannot be accessed!
  153. #
  154. #  NOTE: This can generate A LOT of mail, be warned.
  155. #
  156. MAIL_SYSTEM_ERROR_LOGGING:FALSE
  157.  
  158. # If CHECKMAIL is set to TRUE, the user will be informed (via a statusline
  159. # message) about the existence of any unread mail at startup of Lynx, and
  160. # will get statusline messages if subsequent new mail arrives.  If a jumps
  161. # file with a lynxexec URL for invoking mail is available, or your html
  162. # pages include an mail launch file URL, the user thereby can access mail
  163. # and read the messages.  The checks and statusline reports will not be
  164. # performed if Lynx has been invoked with the -restrictions=mail switch.
  165. #
  166. #  VMS USERS !!!
  167. # New mail is normally broadcast as it arrives, via "unsolicitied screen
  168. # broadcasts", which can be "wiped" from the Lynx display via the Ctrl-W
  169. # command.  You may prefer to disable the broadcasts and use CHECKMAIL
  170. # instead (e.g., in a public account which will be used by people who
  171. # are ignorant about VMS).
  172. #
  173. CHECKMAIL:FALSE
  174.  
  175. # VMS:
  176. #=====
  177. # INEWS is the foreign command for the ANU-NEWS client (normally defined
  178. # as "NEWS" in userdefs.h) which serves as a transparent vector for posting
  179. # to newsgroups from Lynx via the ANU-NEWS client's server.  The account
  180. # running Lynx must have access to the ANU-NEWS client, which in turn must
  181. # have posting privileges (the news server could also be ANU-NEWS, or any
  182. # other server to which the ANU-NEWS client has access).  You can disable
  183. # news posting by setting INEWS to "none", or via -restrictions switches.
  184. # The ANU-NEWS software for VMS is available from ftp.cc.ukans.edu.
  185. #
  186. #INEWS:NEWS
  187.  
  188. # UNIX:
  189. #======
  190. # Set INEWS to the full path and name of your program for posting to
  191. # newsgroups.  A "mini" inews is included in the utils subdirectory of
  192. # the Lynx distribution.  You can disable news posting by setting INEWS
  193. # to "none", or via -restrictions switches.
  194. # Note that INN may require an -h switch added to the path.
  195. #
  196. #INEWS:inews
  197.  
  198. # VMS ONLY:
  199. #==========
  200. # If USE_FIXED_RECORDS is set to TRUE, Lynx_Dir:FIXED512.COM will be
  201. # executed automatically to convert 'd'ownloaded binary files to
  202. # FIXED 512 record format before saving them permanently to disk or
  203. # acting on a DOWNLOADER option.  Read the header of FIXED512.COM for
  204. # more information.  If set to FALSE, the headers of such files will
  205. # indicate that they are Stream_LF with Implied Carriage Control, which
  206. # is incorrect, and can cause downloading software to get confused and
  207. # unhappy.
  208. #
  209. #USE_FIXED_RECORDS:TRUE
  210.  
  211. # VI_KEYS can be turned on by the user in the options
  212. # screen or the .lynxrc file.  This is just the default.
  213. #
  214. VI_KEYS_ALWAYS_ON:FALSE
  215.  
  216. # EMACS_KEYS can be turned on by the user in the options
  217. # screen or the .lynxrc file.  This is just the default.
  218. #
  219. EMACS_KEYS_ALWAYS_ON:FALSE
  220.  
  221. # DEFAULT_KEYPAD_MODE specifies whether by default the user
  222. # has numbers that work like arrows or else numbered links
  223. # DEFAULT KEYPAD MODE may be set to TRUE for
  224. # using numbers as arrows as default or FALSE for
  225. # using numbered links as the default
  226. DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  227.  
  228. # The default search type.
  229. # This is a default that can be overridden by the user!
  230. #
  231. CASE_SENSITIVE_ALWAYS_ON:FALSE
  232.  
  233. # DEFAULT_BOOKMARK_FILE is a default filename for use as a
  234. # personal bookmark file.  It should start without a slash
  235. # and will reference a file from the users home directory.
  236. # NOTE: A file ending in .html should be used eliminate potential problems
  237. #
  238. DEFAULT_BOOKMARK_FILE:lynx_bookmarks.html
  239.  
  240. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  241. # NOVICE  shows a three line help message at the bottom of the screen
  242. # INTERMEDIATE  shows normal amount of help (one line)
  243. # ADVANCED  help is replaced by the URL of the current link
  244. #
  245. DEFAULT_USER_MODE:NOVICE
  246.  
  247. # DEFAULT_EDITOR sets the default editor for Lynx users.
  248. # If an editor is defined then the user may edit local documents
  249. # using that editor.  The editor will also be used for sending
  250. # mail messages.  If no editor is defined here or by the user
  251. # the user will not be able to edit local documents and a primative
  252. # line oriented mail input mode will be used.  
  253. # NOTE: Do not define an editor unless you know that every user will
  254. #       know how to use it.  Most users do not enjoy getting stuck in
  255. #       an unknown editor that they can't get out of.  Users can
  256. #       easily define an editor of their own using the options menu,
  257. #       so it is not always desirable to set the DEFAULT_EDITOR.
  258. #
  259. #DEFAULT_EDITOR:
  260.  
  261. # SYSTEM_EDITOR behaves the same as DEFAULT_EDITOR except that it can't be
  262. # changed.
  263. #
  264. #SYSTEM_EDITOR:
  265.  
  266. # PREFERRED_LANGUAGE is the language in MIME notation (e.g., "en",
  267. # "fr") which will be indicated by Lynx in its Accept-Language headers
  268. # as the preferred language.  If available, the document will be
  269. # transmitted in that language.  Users can override this setting via
  270. # the 'o'ptions menu and save that preference in their RC file.
  271. #
  272. #PREFERRED_LANGUAGE:en
  273.  
  274. # Proxy variables
  275. # Lynx version 2.2 and beyond supports the use of proxy servers that can
  276. # act as firewall gateways and caching servers.  They are preferable to
  277. # the older gateway servers.  Each protocol used by Lynx can be mapped
  278. # separately using PROTOCOL_proxy environment variables (see INSTALLATION).
  279. # If you have not set them externally, you can set them at run time via
  280. # this configuration file.  They will not override external settings.
  281. # Note that on VMS they are set as process logicals rather than symbols,
  282. # to preserve lowercasing, and will outlive the Lynx image.
  283. #
  284. #http_proxy:http://some.server.dom:port/
  285. #ftp_proxy:http://some.server.dom:port/
  286. #gopher_proxy:http://some.server.dom:port/
  287. #news_proxy:http://some.server.dom:port/
  288. #wais_proxy:http://some.server.dom:port/
  289. #no_proxy:host.domain.dom
  290.  
  291. # Printer definitions
  292. # any number of printers may be defined by using multiple 
  293. # printer definition sets.  Printers may be any program
  294. # that could be useful to your users, they do not necessarily
  295. # have to print.
  296. #
  297. # the definition of a printer is of the form
  298. # PRINTER:<printer name>:<printer command>:<printer option>:<lines/page>
  299. #
  300. #    <printer name> is the name that the user will see
  301. # <printer command> is the command line arguments for printing a file
  302. #            the %s will be replaced with the file being printed.
  303. #                   If a second %s is given the second %s will be replaced by a
  304. #                   suggested filename that is prettier than the tempfile
  305. #                   name given in the first %s.  This does not remove the first
  306. #                   %s from the command line in any manner.  If you need to
  307. #                   use only the second %s file name in your printer command,
  308. #                   then I suggest creating a script which will first copy the
  309. #                   first %s file name to the second %s file name, and then
  310. #                   executing your print command with the second %s file name.
  311. #  <printer option> specifies whether the printer should be disabled for
  312. #            users without printing options.  The options are
  313. #            TRUE or FALSE;
  314. #            TRUE means the printer will always be ENABLED
  315. #             regardless of printer or anonymous settings
  316. #            FALSE means the printer will be DISABLED when
  317. #              the -noprint option is on, or for anonymous
  318. #              users which are not allowed to print
  319. #
  320. #  <lines/page>    is an optional parameter for indicating the number of
  321. #           lines per page for the printer.  Defaults to 66.  Used
  322. #           for computing the approximate number of pages and
  323. #           generating a statusline query of whether to proceed if
  324. #           the document is longer than 4 printer pages.  Uses the
  325. #           current screen length for the computation when the
  326. #           built in "print to screen" option is selected.
  327. #
  328. #  You must put the whole definition on one line.  
  329. #
  330. #  If you must use a colon, precede it with a backslash!
  331. #
  332. #  If you have a very busy VMS print queue and Lynx deletes the temporary
  333. #  files before they have been queued, use the VMSPrint.com included in
  334. #  the distribution.
  335. #
  336. #    examples
  337. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  338. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  339. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE:58
  340. #PRINTER:Busy VMS printer:@Lynx_Dir\:VMSPrint sys$print %s:FALSE:58
  341. PRINTER:Default UNIX printer:lp %s:FALSE
  342. #
  343. # check out the lpansi program in utils/ for printing on vt100
  344. # attached printers.
  345. #PRINTER:Use vt100 print sequence to print from your local terminal:lpansi %s:TRUE
  346. # don't use the following printer on anonymous accounts since
  347. # allowing shell input is very dangerous
  348. #PRINTER:Specify your own print command:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  349.  
  350. # Downloader definitions
  351. # any number of downloaders may be defined by using multiple
  352. # downloader definition sets.  Downloaders may be any program
  353. # that could be useful to your users, they do not necessarily
  354. # have to be a download protocol program. The most common use
  355. # of a downloader is to use Ckermit or some other transfer
  356. # program so that the user may easily transfer files back to
  357. # their local machine over a serial link.
  358. #
  359. # the definition of a downloader is of the form
  360. # DOWNLOADER:<downloadername>:<downloader command>:<downloader option>
  361. #
  362. #    <downloader name> is the name that the user will see
  363. # <downloader command> is the command line arguments for printing a file
  364. #                      the %s will be replaced with the file being printed
  365. #                      If a second %s is given the second %s will be replaced
  366. #                      by a suggested filename that is nicer than the tempfile
  367. #                      name given in the first %s.  This does not replace the
  368. #                      first %s in the command line.  If your command needs
  369. #                      the suggest file name on the command line only, then
  370. #                      I suggest creating a script that will first copy the
  371. #                      first %s file name to the second %s file name, and then
  372. #                      execute the downloading command using the second %s file
  373. #                      name (e.g., 'sz' needs such a script interposed).
  374. #  <downloader option> specifies whether the downloader should be disabled for
  375. #                      anonymous users.  The options are
  376. #                      TRUE or FALSE;
  377. #                      TRUE means the downloader will always be ENABLED
  378. #                           regardless of the anonymous settings
  379. #                      FALSE means the downloader will be DISABLED when
  380. #                            the user is anonymous.
  381. #
  382. #  You must put the whole definition on one line.
  383. #
  384. #  If you must use a colon, precede it with a backslash!
  385. #
  386. #    examples
  387. #DOWNLOADER:Use Kermit to download to the local terminal:kermit -i -s %s %s:TRUE
  388. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  389.  
  390. # Uploader definitions (implemented only with Unix DIRED_SUPPORT;
  391. #                       see the Makefile in the top directory)
  392. # any number of uploaders may be defined by using multiple
  393. # uploader definition sets.  Uploaders may be any program
  394. # that could be useful to your users, they do not necessarily
  395. # have to be an upload protocol program. The most common use
  396. # of an uploader is to use Ckermit or some other transfer
  397. # program so that the user may easily transfer files from
  398. # their local machine over a serial link.
  399. #
  400. # the definition of an uploader is of the same form as a downloader
  401. # UPLOADER:<uploadername>:<uploader command>:<uploader option>
  402. #
  403. #  You must put the whole definition on one line.
  404. #
  405. #  If you must use a colon, precede it with a backslash!
  406. #
  407. #    example
  408. #UPLOADER:Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  409.  
  410. # If NO_DOT_FILES is TRUE, the user will not be allowed to specify files
  411. # beginning with a dot in reply to output filename prompts.
  412. #
  413. # On VMS, it also will stop inclusion of files beginning with a dot
  414. # (e.g., file://localhost/device/directory/.lynxrc) in the directory
  415. # browser's listings (they are never included on Unix).
  416. #
  417. #NO_DOT_FILES:FALSE
  418.  
  419. # MIME types and viewers!
  420. #
  421. # file extensions may be assigned to MIME types using
  422. # the SUFFIX: definition.  
  423. #
  424. # The SUFFIX definition takes the form of:
  425. #    SUFFIX:<file extension>:<mime type>
  426. # for instance the following definition maps the
  427. # extension ".gif" to the mime type "image/gif"
  428. #    SUFFIX:.gif:image/gif
  429. #
  430. # file suffixes are case INsensitive!
  431. #
  432. # The suffix definitions listed here in the default lynx.cfg file are
  433. # among those established via src/HTInit.c.  You can change any of the
  434. # defaults by editing that file, or via the global or personal mime.types
  435. # files at run time.  They will be overridden if you assign them here.
  436.  
  437. #SUFFIX:.ps:application/postscript
  438. #SUFFIX:.eps:application/postscript
  439. #SUFFIX:.ai:application/postscript
  440. #SUFFIX:.rtf:application/x-rtf
  441. #SUFFIX:.snd:audio/basic
  442. #SUFFIX:.gif:image/gif
  443. #SUFFIX:.rgb:image/x-rgb
  444. #SUFFIX:.pict:image/x-pict
  445. #SUFFIX:.xbm:image/x-xbm
  446. #SUFFIX:.tiff:image/x-tiff
  447. #SUFFIX:.jpg:image/jpeg
  448. #SUFFIX:.jpeg:image/jpeg
  449. #SUFFIX:.mpg:video/mpeg
  450. #SUFFIX:.mpeg:video/mpeg
  451. #SUFFIX:.mov:video/quicktime
  452. #SUFFIX:.hqx:application/octet-stream
  453. #SUFFIX:.bin:application/octet-stream
  454. #SUFFIX:.exe:application/octet-stream
  455. #SUFFIX:.tar:application/octet-stream
  456. #SUFFIX:.Z:application/octet-stream
  457. #SUFFIX:.gz:application/octet-stream
  458. #SUFFIX:.zip:application/octet-stream
  459. #SUFFIX:.lzh:application/octet-stream
  460. #SUFFIX:.lha:application/octet-stream
  461. #SUFFIX:.dms:application/octet-stream
  462.  
  463. # The global and personal EXTENSION_MAP files allow you to assign extensions
  464. # to MIME types which will overide any of the suffix maps in this (lynx.cfg)
  465. # configuration file, or in src/HTInit.c.  See the example mime.types file
  466. # in the samples subdirectory.
  467. #
  468. #     Unix:
  469. #GLOBAL_EXTENSION_MAP:/usr/local/lib/mosaic/mime.types
  470. #     VMS:
  471. #GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
  472. #
  473. #    Unix (sought in user's home directory):
  474. #PERSONAL_EXTENSION_MAP:.mime.types
  475. #    VMS (sought in user's sys$login directory):
  476. #PERSONAL_EXTENSION_MAP:mime.types
  477.  
  478. # MIME types may be assigned to external viewers using
  479. # the VIEWER definition.
  480. #
  481. # Note: if you do not define a viewer to a new MIME type
  482. #       that you assigned above then it will be saved to
  483. #       disk by default.
  484. #
  485. # The VIEWER definition takes the form of:
  486. #    VIEWER:<mime type>:<viewing command>[:environment]
  487. #      where -mime type is the MIME content type of the file
  488. #         -viewing command is a system command that can be
  489. #             used to display the file where "%s" is replaced
  490. #             within the command with the physical filename
  491. #             (i.e. "xv %s" becomes "xv /tmp/tempgiffile")
  492. #            -environment is optional.  The only valid keywords
  493. #             are currently XWINDOWS and NON_XWINDOWS.  If the XWINDOWS 
  494. #             environment is specified then the viewer will only be
  495. #             defined when the user has the environment variable DISPLAY
  496. #             (DECW$DISPLAY on VMS) defined.  If the NON_XWINDOWS environment
  497. #             is specified the specified viewer will only be defined when the
  498. #             user DOES NOT have the environment variable DISPLAY defined.
  499. #  examples:
  500. #        VIEWER:image/gif:xv %s:XWINDOWS
  501. #               VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  502. #               VIEWER:application/start-elm:elm
  503. #
  504. # The MIME_type:viewer:XWINDOWS definitions listed here in the lynx.cfg
  505. # file are among those established via src/HTInit.c.  For the image types,
  506. # HTInit.c uses the XLOADIMAGE definition in userdefs.h (open is used for
  507. # NeXT). You can change any of these defaults via the global or personal
  508. # mailcap files at run time.  They will be overridden if you assign them
  509. # here.
  510.  
  511. #VIEWER:application/postscript:ghostview %s&:XWINDOWS
  512. #VIEWER:image/gif:xv %s&:XWINDOWS
  513. #VIEWER:image/x-xbm:xv %s&:XWINDOWS
  514. #VIEWER:image/x-rgb:xv %s&:XWINDOWS
  515. #VIEWER:image/x-tiff:xv %s&:XWINDOWS
  516. #VIEWER:image/jpeg:xv %s&:XWINDOWS
  517. #VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  518.  
  519. # The global and personal MAILCAP files allow you to specify external
  520. # viewers to spawned when Lynx encounters different MIME types, which
  521. # will overide any of the suffix maps in this (lynx.cfg) configuration
  522. # file, or in src/HTInit.c.  See RFC-MAILCAP.txt in the docs subdirectory
  523. # and the example mailcap file in the samples subdirectory.
  524. #
  525. #    Unix:
  526. #GLOBAL_MAILCAP:/usr/local/lib/mosaic/mailcap
  527. #    VMS:
  528. #GLOBAL_MAILCAP:Lynx_Dir:mailcap
  529. #
  530. #     Sought in user's home (Unix) or sys$login (VMS) directory.
  531. #PERSONAL_MAILCAP:.mailcap
  532.  
  533. # Key remapping definitions!
  534. #
  535. # You may redefine the keymapping of any function in Lynx by
  536. # using the KEYMAP variable.  The form of KEYMAP is:
  537. #  KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  538. #
  539. # You must map upper and lowercase key's separately.
  540. #
  541. # A complete list of functions mapped to their default keys are
  542. # provided below.  All of the mappings are commented out by default
  543. # since they just map to the default mappings, except for TOGGLE_HELP
  544. # (see below).
  545. #
  546. # Special keys map to:
  547. #         Up Arrow: 0x80
  548. #       Down Arrow: 0x81
  549. #      Right Arrow: 0x82
  550. #       Left Arrow: 0x83
  551. #        Page Down: 0x84
  552. #          Page Up: 0x85
  553. #      Keypad Home: 0x86
  554. #       Keypad End: 0x87
  555. #   Function key 1: 0x88
  556. # vt100   Help Key: 0x88
  557. # vt100     Do Key: 0x89
  558. # vt100   Find Key: 0x8A
  559. # vt100 Select Key: 0x8B
  560. # vt100 Insert Key: 0x8C
  561. # vt100 Remove Key: 0x8D
  562. #         NULL KEY: 0x00
  563. #
  564.  
  565. #KEYMAP:0x2F:SOURCE    # Toggle source viewing mode (show HTML source
  566. #KEYMAP:^R:RELOAD    # Reload the current document and redisplay
  567. #KEYMAP:q:QUIT        # Ask the user to quit
  568. #KEYMAP:Q:ABORT        # Quit without verification
  569. #KEYMAP:0x20:NEXT_PAGE    # Move down to previous page
  570. #KEYMAP:-:PREV_PAGE    # Move up to previous page
  571. #KEYMAP:^P:UP_TWO    # Move display up two lines
  572. #KEYMAP:0x8C:UP_TWO     # Function key - Move display up two lines
  573. #KEYMAP:^N:DOWN_TWO    # Move display down two lines
  574. #KEYMAP:0x8D:DOWN_TWO   # Function key - Move display down two lines
  575. #KEYMAP:^W:REFRESH    # Refresh the screen
  576. #KEYMAP:0x86:HOME       # Keypad HOME (Go to top of current document
  577. #KEYMAP:0x8A:HOME       # Function key - HOME (Go to top of current document
  578. #KEYMAP:0x87:END    # Keypad END (Go to bottom of current document
  579. #KEYMAP:0x8B:END        # Function key - END (Go to bottom of current document
  580. #KEYMAP:0x80:PREV_LINK  # Move to the previous link
  581. #KEYMAP:0x81:NEXT_LINK  # Move to the next link
  582. #KEYMAP:0x00:UP_LINK    # Move to the link above
  583. #KEYMAP:0x00:DOWN_LINK    # Move to the link below
  584. #KEYMAP:0x00:RIGHT_LINK    # Move to the link to the right
  585. #KEYMAP:0x00:LEFT_LINK    # Move to the link to the left
  586. #KEYMAP:0x7f:HISTORY    # Show the history list
  587. #KEYMAP:0x08:HISTORY    # Show the history list
  588. #KEYMAP:0x83:PREV_DOC    # Return to the previous document
  589. #KEYMAP:0x82:ACTIVATE    # Select the current link
  590. #KEYMAP:0x89:ACTIVATE   # Function key - Select the current link
  591. #KEYMAP:g:GOTO        # Goto a random URL
  592. #KEYMAP:H:HELP        # Show default help screen
  593. #KEYMAP:0x88:HELP       # Function key - Show default help screen
  594. #KEYMAP:i:INDEX        # Show default index
  595. #*** Edit FORM_LINK_SUBMIT_MESSAGE in userdefs.h if you change RESUBMIT ***
  596. #KEYMAP:x:RESUBMIT    # Force resubmission of form if presently cached
  597. #*** Do not change INTERRUPT from 'z' & 'Z' ***
  598. #KEYMAP:z:INTERRUPT    # Interrupt network transmission
  599. #KEYMAP:m:MAIN_MENU    # Return to the main menu
  600. #KEYMAP:o:OPTIONS    # Show the options menu
  601. #KEYMAP:i:INDEX_SEARCH    # Search a server based index
  602. #KEYMAP:/:WHEREIS    # Find a string within the current document
  603. #KEYMAP:n:NEXT        # Find next occurance of string within document
  604. #KEYMAP:c:COMMENT    # Comment to the author of the current document
  605. #KEYMAP:e:EDIT        # Edit current document
  606. #KEYMAP:=:INFO        # Show info about current document
  607. #KEYMAP:p:PRINT        # Show print options
  608. #KEYMAP:a:ADD_BOOKMARK    # Add current document to bookmark list
  609. #KEYMAP:v:VIEW_BOOKMARK    # View the bookmark list
  610. #KEYMAP:!:SHELL        # Spawn default shell
  611. #KEYMAP:d:DOWNLOAD    # Download current link
  612. #KEYMAP:j:JUMP        # Jump to a predefined target
  613. #KEYMAP:k:KEYMAP    # Display the current key map
  614. #KEYMAP:0x00:DO_NOTHING    # Does nothing (ignore this key)
  615.  
  616. # If TOGGLE_HELP is mapped, in novice mode the second help menu line
  617. # can be toggled among NOVICE_LINE_TWO_A, _B, and _C, as defined in
  618. # userdefs.h.  Otherwise, it will be NOVICE_LINE_TWO.
  619. #
  620. #KEYMAP:O:TOGGLE_HELP    # Show other commands in the novice help menu
  621.